import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ArcoVue from '@arco-design/web-vue'
import '@arco-design/web-vue/dist/arco.css'
// 额外引入图标库
import ArcoVueIcon from '@arco-design/web-vue/es/icon'
import App from './App.vue'
import router from './router'
// 安装markdown编辑器组件为全局组件
import { MdEditor } from 'md-editor-v3'
import 'md-editor-v3/lib/style.css'
const app = createApp(App)

app.use(createPinia())
app.use(router)
// 配置ui组件
app.use(ArcoVue)
// 配置图标Icon
app.use(ArcoVueIcon)
app.component('MdEditor', MdEditor)
app.mount('#app')
